Changes for directories
[pithos-ms-client] / trunk / Pithos.ShellExtensions / Service References / PithosService / Reference.cs
1 //------------------------------------------------------------------------------
2 // <auto-generated>
3 //     This code was generated by a tool.
4 //     Runtime Version:4.0.30319.488
5 //
6 //     Changes to this file may cause incorrect behavior and will be lost if
7 //     the code is regenerated.
8 // </auto-generated>
9 //------------------------------------------------------------------------------
10
11 namespace Pithos.ShellExtensions.PithosService {
12     
13     
14     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
15     [System.ServiceModel.ServiceContractAttribute(Namespace="http://PITHOS.Client.Status", ConfigurationName="PithosService.IStatusService")]
16     public interface IStatusService {
17         
18         [System.ServiceModel.OperationContractAttribute(Action="http://PITHOS.Client.Status/IStatusService/GetStatus", ReplyAction="http://PITHOS.Client.Status/IStatusService/GetStatusResponse")]
19         Pithos.Interfaces.FileOverlayStatus GetStatus(string filePath);
20         
21         [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://PITHOS.Client.Status/IStatusService/GetStatus", ReplyAction="http://PITHOS.Client.Status/IStatusService/GetStatusResponse")]
22         System.IAsyncResult BeginGetStatus(string filePath, System.AsyncCallback callback, object asyncState);
23         
24         Pithos.Interfaces.FileOverlayStatus EndGetStatus(System.IAsyncResult result);
25     }
26     
27     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
28     public interface IStatusServiceChannel : Pithos.ShellExtensions.PithosService.IStatusService, System.ServiceModel.IClientChannel {
29     }
30     
31     [System.Diagnostics.DebuggerStepThroughAttribute()]
32     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
33     public partial class GetStatusCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
34         
35         private object[] results;
36         
37         public GetStatusCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
38                 base(exception, cancelled, userState) {
39             this.results = results;
40         }
41         
42         public Pithos.Interfaces.FileOverlayStatus Result {
43             get {
44                 base.RaiseExceptionIfNecessary();
45                 return ((Pithos.Interfaces.FileOverlayStatus)(this.results[0]));
46             }
47         }
48     }
49     
50     [System.Diagnostics.DebuggerStepThroughAttribute()]
51     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
52     public partial class StatusServiceClient : System.ServiceModel.ClientBase<Pithos.ShellExtensions.PithosService.IStatusService>, Pithos.ShellExtensions.PithosService.IStatusService {
53         
54         private BeginOperationDelegate onBeginGetStatusDelegate;
55         
56         private EndOperationDelegate onEndGetStatusDelegate;
57         
58         private System.Threading.SendOrPostCallback onGetStatusCompletedDelegate;
59         
60         public StatusServiceClient() {
61         }
62         
63         public StatusServiceClient(string endpointConfigurationName) : 
64                 base(endpointConfigurationName) {
65         }
66         
67         public StatusServiceClient(string endpointConfigurationName, string remoteAddress) : 
68                 base(endpointConfigurationName, remoteAddress) {
69         }
70         
71         public StatusServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : 
72                 base(endpointConfigurationName, remoteAddress) {
73         }
74         
75         public StatusServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : 
76                 base(binding, remoteAddress) {
77         }
78         
79         public event System.EventHandler<GetStatusCompletedEventArgs> GetStatusCompleted;
80         
81         public Pithos.Interfaces.FileOverlayStatus GetStatus(string filePath) {
82             return base.Channel.GetStatus(filePath);
83         }
84         
85         [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
86         public System.IAsyncResult BeginGetStatus(string filePath, System.AsyncCallback callback, object asyncState) {
87             return base.Channel.BeginGetStatus(filePath, callback, asyncState);
88         }
89         
90         [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
91         public Pithos.Interfaces.FileOverlayStatus EndGetStatus(System.IAsyncResult result) {
92             return base.Channel.EndGetStatus(result);
93         }
94         
95         private System.IAsyncResult OnBeginGetStatus(object[] inValues, System.AsyncCallback callback, object asyncState) {
96             string filePath = ((string)(inValues[0]));
97             return this.BeginGetStatus(filePath, callback, asyncState);
98         }
99         
100         private object[] OnEndGetStatus(System.IAsyncResult result) {
101             Pithos.Interfaces.FileOverlayStatus retVal = this.EndGetStatus(result);
102             return new object[] {
103                     retVal};
104         }
105         
106         private void OnGetStatusCompleted(object state) {
107             if ((this.GetStatusCompleted != null)) {
108                 InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
109                 this.GetStatusCompleted(this, new GetStatusCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
110             }
111         }
112         
113         public void GetStatusAsync(string filePath) {
114             this.GetStatusAsync(filePath, null);
115         }
116         
117         public void GetStatusAsync(string filePath, object userState) {
118             if ((this.onBeginGetStatusDelegate == null)) {
119                 this.onBeginGetStatusDelegate = new BeginOperationDelegate(this.OnBeginGetStatus);
120             }
121             if ((this.onEndGetStatusDelegate == null)) {
122                 this.onEndGetStatusDelegate = new EndOperationDelegate(this.OnEndGetStatus);
123             }
124             if ((this.onGetStatusCompletedDelegate == null)) {
125                 this.onGetStatusCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetStatusCompleted);
126             }
127             base.InvokeAsync(this.onBeginGetStatusDelegate, new object[] {
128                         filePath}, this.onEndGetStatusDelegate, this.onGetStatusCompletedDelegate, userState);
129         }
130     }
131     
132     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
133     [System.ServiceModel.ServiceContractAttribute(Namespace="http://PITHOS.Client.Settings", ConfigurationName="PithosService.ISettingsService")]
134     public interface ISettingsService {
135         
136         [System.ServiceModel.OperationContractAttribute(Action="http://PITHOS.Client.Settings/ISettingsService/GetSettings", ReplyAction="http://PITHOS.Client.Settings/ISettingsService/GetSettingsResponse")]
137         Pithos.Interfaces.PithosSettingsData GetSettings();
138         
139         [System.ServiceModel.OperationContractAttribute(AsyncPattern=true, Action="http://PITHOS.Client.Settings/ISettingsService/GetSettings", ReplyAction="http://PITHOS.Client.Settings/ISettingsService/GetSettingsResponse")]
140         System.IAsyncResult BeginGetSettings(System.AsyncCallback callback, object asyncState);
141         
142         Pithos.Interfaces.PithosSettingsData EndGetSettings(System.IAsyncResult result);
143     }
144     
145     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
146     public interface ISettingsServiceChannel : Pithos.ShellExtensions.PithosService.ISettingsService, System.ServiceModel.IClientChannel {
147     }
148     
149     [System.Diagnostics.DebuggerStepThroughAttribute()]
150     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
151     public partial class GetSettingsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs {
152         
153         private object[] results;
154         
155         public GetSettingsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : 
156                 base(exception, cancelled, userState) {
157             this.results = results;
158         }
159         
160         public Pithos.Interfaces.PithosSettingsData Result {
161             get {
162                 base.RaiseExceptionIfNecessary();
163                 return ((Pithos.Interfaces.PithosSettingsData)(this.results[0]));
164             }
165         }
166     }
167     
168     [System.Diagnostics.DebuggerStepThroughAttribute()]
169     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
170     public partial class SettingsServiceClient : System.ServiceModel.ClientBase<Pithos.ShellExtensions.PithosService.ISettingsService>, Pithos.ShellExtensions.PithosService.ISettingsService {
171         
172         private BeginOperationDelegate onBeginGetSettingsDelegate;
173         
174         private EndOperationDelegate onEndGetSettingsDelegate;
175         
176         private System.Threading.SendOrPostCallback onGetSettingsCompletedDelegate;
177         
178         public SettingsServiceClient() {
179         }
180         
181         public SettingsServiceClient(string endpointConfigurationName) : 
182                 base(endpointConfigurationName) {
183         }
184         
185         public SettingsServiceClient(string endpointConfigurationName, string remoteAddress) : 
186                 base(endpointConfigurationName, remoteAddress) {
187         }
188         
189         public SettingsServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : 
190                 base(endpointConfigurationName, remoteAddress) {
191         }
192         
193         public SettingsServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : 
194                 base(binding, remoteAddress) {
195         }
196         
197         public event System.EventHandler<GetSettingsCompletedEventArgs> GetSettingsCompleted;
198         
199         public Pithos.Interfaces.PithosSettingsData GetSettings() {
200             return base.Channel.GetSettings();
201         }
202         
203         [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
204         public System.IAsyncResult BeginGetSettings(System.AsyncCallback callback, object asyncState) {
205             return base.Channel.BeginGetSettings(callback, asyncState);
206         }
207         
208         [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
209         public Pithos.Interfaces.PithosSettingsData EndGetSettings(System.IAsyncResult result) {
210             return base.Channel.EndGetSettings(result);
211         }
212         
213         private System.IAsyncResult OnBeginGetSettings(object[] inValues, System.AsyncCallback callback, object asyncState) {
214             return this.BeginGetSettings(callback, asyncState);
215         }
216         
217         private object[] OnEndGetSettings(System.IAsyncResult result) {
218             Pithos.Interfaces.PithosSettingsData retVal = this.EndGetSettings(result);
219             return new object[] {
220                     retVal};
221         }
222         
223         private void OnGetSettingsCompleted(object state) {
224             if ((this.GetSettingsCompleted != null)) {
225                 InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
226                 this.GetSettingsCompleted(this, new GetSettingsCompletedEventArgs(e.Results, e.Error, e.Cancelled, e.UserState));
227             }
228         }
229         
230         public void GetSettingsAsync() {
231             this.GetSettingsAsync(null);
232         }
233         
234         public void GetSettingsAsync(object userState) {
235             if ((this.onBeginGetSettingsDelegate == null)) {
236                 this.onBeginGetSettingsDelegate = new BeginOperationDelegate(this.OnBeginGetSettings);
237             }
238             if ((this.onEndGetSettingsDelegate == null)) {
239                 this.onEndGetSettingsDelegate = new EndOperationDelegate(this.OnEndGetSettings);
240             }
241             if ((this.onGetSettingsCompletedDelegate == null)) {
242                 this.onGetSettingsCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetSettingsCompleted);
243             }
244             base.InvokeAsync(this.onBeginGetSettingsDelegate, null, this.onEndGetSettingsDelegate, this.onGetSettingsCompletedDelegate, userState);
245         }
246     }
247     
248     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
249     [System.ServiceModel.ServiceContractAttribute(Namespace="http://PITHOS.Client.Commands", ConfigurationName="PithosService.ICommandsService")]
250     public interface ICommandsService {
251         
252         [System.ServiceModel.OperationContractAttribute(IsOneWay=true, Action="http://PITHOS.Client.Commands/ICommandsService/ShowProperties")]
253         void ShowProperties(string fileName);
254         
255         [System.ServiceModel.OperationContractAttribute(IsOneWay=true, AsyncPattern=true, Action="http://PITHOS.Client.Commands/ICommandsService/ShowProperties")]
256         System.IAsyncResult BeginShowProperties(string fileName, System.AsyncCallback callback, object asyncState);
257         
258         void EndShowProperties(System.IAsyncResult result);
259         
260         [System.ServiceModel.OperationContractAttribute(IsOneWay=true, Action="http://PITHOS.Client.Commands/ICommandsService/GotoSite")]
261         void GotoSite(string fileName);
262         
263         [System.ServiceModel.OperationContractAttribute(IsOneWay=true, AsyncPattern=true, Action="http://PITHOS.Client.Commands/ICommandsService/GotoSite")]
264         System.IAsyncResult BeginGotoSite(string fileName, System.AsyncCallback callback, object asyncState);
265         
266         void EndGotoSite(System.IAsyncResult result);
267     }
268     
269     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
270     public interface ICommandsServiceChannel : Pithos.ShellExtensions.PithosService.ICommandsService, System.ServiceModel.IClientChannel {
271     }
272     
273     [System.Diagnostics.DebuggerStepThroughAttribute()]
274     [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
275     public partial class CommandsServiceClient : System.ServiceModel.ClientBase<Pithos.ShellExtensions.PithosService.ICommandsService>, Pithos.ShellExtensions.PithosService.ICommandsService {
276         
277         private BeginOperationDelegate onBeginShowPropertiesDelegate;
278         
279         private EndOperationDelegate onEndShowPropertiesDelegate;
280         
281         private System.Threading.SendOrPostCallback onShowPropertiesCompletedDelegate;
282         
283         private BeginOperationDelegate onBeginGotoSiteDelegate;
284         
285         private EndOperationDelegate onEndGotoSiteDelegate;
286         
287         private System.Threading.SendOrPostCallback onGotoSiteCompletedDelegate;
288         
289         public CommandsServiceClient() {
290         }
291         
292         public CommandsServiceClient(string endpointConfigurationName) : 
293                 base(endpointConfigurationName) {
294         }
295         
296         public CommandsServiceClient(string endpointConfigurationName, string remoteAddress) : 
297                 base(endpointConfigurationName, remoteAddress) {
298         }
299         
300         public CommandsServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) : 
301                 base(endpointConfigurationName, remoteAddress) {
302         }
303         
304         public CommandsServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) : 
305                 base(binding, remoteAddress) {
306         }
307         
308         public event System.EventHandler<System.ComponentModel.AsyncCompletedEventArgs> ShowPropertiesCompleted;
309         
310         public event System.EventHandler<System.ComponentModel.AsyncCompletedEventArgs> GotoSiteCompleted;
311         
312         public void ShowProperties(string fileName) {
313             base.Channel.ShowProperties(fileName);
314         }
315         
316         [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
317         public System.IAsyncResult BeginShowProperties(string fileName, System.AsyncCallback callback, object asyncState) {
318             return base.Channel.BeginShowProperties(fileName, callback, asyncState);
319         }
320         
321         [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
322         public void EndShowProperties(System.IAsyncResult result) {
323             base.Channel.EndShowProperties(result);
324         }
325         
326         private System.IAsyncResult OnBeginShowProperties(object[] inValues, System.AsyncCallback callback, object asyncState) {
327             string fileName = ((string)(inValues[0]));
328             return this.BeginShowProperties(fileName, callback, asyncState);
329         }
330         
331         private object[] OnEndShowProperties(System.IAsyncResult result) {
332             this.EndShowProperties(result);
333             return null;
334         }
335         
336         private void OnShowPropertiesCompleted(object state) {
337             if ((this.ShowPropertiesCompleted != null)) {
338                 InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
339                 this.ShowPropertiesCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(e.Error, e.Cancelled, e.UserState));
340             }
341         }
342         
343         public void ShowPropertiesAsync(string fileName) {
344             this.ShowPropertiesAsync(fileName, null);
345         }
346         
347         public void ShowPropertiesAsync(string fileName, object userState) {
348             if ((this.onBeginShowPropertiesDelegate == null)) {
349                 this.onBeginShowPropertiesDelegate = new BeginOperationDelegate(this.OnBeginShowProperties);
350             }
351             if ((this.onEndShowPropertiesDelegate == null)) {
352                 this.onEndShowPropertiesDelegate = new EndOperationDelegate(this.OnEndShowProperties);
353             }
354             if ((this.onShowPropertiesCompletedDelegate == null)) {
355                 this.onShowPropertiesCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnShowPropertiesCompleted);
356             }
357             base.InvokeAsync(this.onBeginShowPropertiesDelegate, new object[] {
358                         fileName}, this.onEndShowPropertiesDelegate, this.onShowPropertiesCompletedDelegate, userState);
359         }
360         
361         public void GotoSite(string fileName) {
362             base.Channel.GotoSite(fileName);
363         }
364         
365         [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
366         public System.IAsyncResult BeginGotoSite(string fileName, System.AsyncCallback callback, object asyncState) {
367             return base.Channel.BeginGotoSite(fileName, callback, asyncState);
368         }
369         
370         [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
371         public void EndGotoSite(System.IAsyncResult result) {
372             base.Channel.EndGotoSite(result);
373         }
374         
375         private System.IAsyncResult OnBeginGotoSite(object[] inValues, System.AsyncCallback callback, object asyncState) {
376             string fileName = ((string)(inValues[0]));
377             return this.BeginGotoSite(fileName, callback, asyncState);
378         }
379         
380         private object[] OnEndGotoSite(System.IAsyncResult result) {
381             this.EndGotoSite(result);
382             return null;
383         }
384         
385         private void OnGotoSiteCompleted(object state) {
386             if ((this.GotoSiteCompleted != null)) {
387                 InvokeAsyncCompletedEventArgs e = ((InvokeAsyncCompletedEventArgs)(state));
388                 this.GotoSiteCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(e.Error, e.Cancelled, e.UserState));
389             }
390         }
391         
392         public void GotoSiteAsync(string fileName) {
393             this.GotoSiteAsync(fileName, null);
394         }
395         
396         public void GotoSiteAsync(string fileName, object userState) {
397             if ((this.onBeginGotoSiteDelegate == null)) {
398                 this.onBeginGotoSiteDelegate = new BeginOperationDelegate(this.OnBeginGotoSite);
399             }
400             if ((this.onEndGotoSiteDelegate == null)) {
401                 this.onEndGotoSiteDelegate = new EndOperationDelegate(this.OnEndGotoSite);
402             }
403             if ((this.onGotoSiteCompletedDelegate == null)) {
404                 this.onGotoSiteCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGotoSiteCompleted);
405             }
406             base.InvokeAsync(this.onBeginGotoSiteDelegate, new object[] {
407                         fileName}, this.onEndGotoSiteDelegate, this.onGotoSiteCompletedDelegate, userState);
408         }
409     }
410 }